package com.ybkj.o2o.zhuanche.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CarCriteria {
  protected String orderByClause;

  protected boolean distinct;

  protected List<Criteria> oredCriteria;

  public CarCriteria() {
    oredCriteria = new ArrayList<Criteria>();
  }

  public void setOrderByClause(String orderByClause) {
    this.orderByClause = orderByClause;
  }

  public String getOrderByClause() {
    return orderByClause;
  }

  public void setDistinct(boolean distinct) {
    this.distinct = distinct;
  }

  public boolean isDistinct() {
    return distinct;
  }

  public List<Criteria> getOredCriteria() {
    return oredCriteria;
  }

  public void or(Criteria criteria) {
    oredCriteria.add(criteria);
  }
  /**
   * 拼接查询条件.
   */
  
  public Criteria or() {
    Criteria criteria = createCriteriaInternal();
    oredCriteria.add(criteria);
    return criteria;
  }
  /**
   * 拼接查询条件.
   */
  
  public Criteria createCriteria() {
    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    Criteria criteria = new Criteria();
    return criteria;
  }
  /**
   * 拼接查询条件.
   */
  
  public void clear() {
    oredCriteria.clear();
    orderByClause = null;
    distinct = false;
  }

  protected abstract static class GeneratedCriteria {
    protected List<Criterion> criteria;

    protected GeneratedCriteria() {
      super();
      criteria = new ArrayList<Criterion>();
    }

    public boolean isValid() {
      return criteria.size() > 0;
    }

    public List<Criterion> getAllCriteria() {
      return criteria;
    }

    public List<Criterion> getCriteria() {
      return criteria;
    }

    protected void addCriterion(String condition) {
      if (condition == null) {
        throw new RuntimeException("Value for condition cannot be null");
      }
      criteria.add(new Criterion(condition));
    }

    protected void addCriterion(String condition, Object value, String property) {
      if (value == null) {
        throw new RuntimeException("Value for " + property + " cannot be null");
      }
      criteria.add(new Criterion(condition, value));
    }

    protected void addCriterion(String condition, Object value1, Object value2, String property) {
      if (value1 == null || value2 == null) {
        throw new RuntimeException("Between values for " + property + " cannot be null");
      }
      criteria.add(new Criterion(condition, value1, value2));
    }

    public Criteria andIdIsNull() {
      addCriterion("id is null");
      return (Criteria) this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion("id is not null");
      return (Criteria) this;
    }

    public Criteria andIdEqualTo(Long value) {
      addCriterion("id =", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotEqualTo(Long value) {
      addCriterion("id <>", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdGreaterThan(Long value) {
      addCriterion("id >", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdGreaterThanOrEqualTo(Long value) {
      addCriterion("id >=", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdLessThan(Long value) {
      addCriterion("id <", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdLessThanOrEqualTo(Long value) {
      addCriterion("id <=", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdIn(List<Long> values) {
      addCriterion("id in", values, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotIn(List<Long> values) {
      addCriterion("id not in", values, "id");
      return (Criteria) this;
    }

    public Criteria andIdBetween(Long value1, Long value2) {
      addCriterion("id between", value1, value2, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotBetween(Long value1, Long value2) {
      addCriterion("id not between", value1, value2, "id");
      return (Criteria) this;
    }

    public Criteria andCreatedIsNull() {
      addCriterion("created is null");
      return (Criteria) this;
    }

    public Criteria andCreatedIsNotNull() {
      addCriterion("created is not null");
      return (Criteria) this;
    }

    public Criteria andCreatedEqualTo(Date value) {
      addCriterion("created =", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedNotEqualTo(Date value) {
      addCriterion("created <>", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedGreaterThan(Date value) {
      addCriterion("created >", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
      addCriterion("created >=", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedLessThan(Date value) {
      addCriterion("created <", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedLessThanOrEqualTo(Date value) {
      addCriterion("created <=", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedIn(List<Date> values) {
      addCriterion("created in", values, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedNotIn(List<Date> values) {
      addCriterion("created not in", values, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedBetween(Date value1, Date value2) {
      addCriterion("created between", value1, value2, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedNotBetween(Date value1, Date value2) {
      addCriterion("created not between", value1, value2, "created");
      return (Criteria) this;
    }

    public Criteria andUpdatedIsNull() {
      addCriterion("updated is null");
      return (Criteria) this;
    }

    public Criteria andUpdatedIsNotNull() {
      addCriterion("updated is not null");
      return (Criteria) this;
    }

    public Criteria andUpdatedEqualTo(Date value) {
      addCriterion("updated =", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotEqualTo(Date value) {
      addCriterion("updated <>", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedGreaterThan(Date value) {
      addCriterion("updated >", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
      addCriterion("updated >=", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedLessThan(Date value) {
      addCriterion("updated <", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedLessThanOrEqualTo(Date value) {
      addCriterion("updated <=", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedIn(List<Date> values) {
      addCriterion("updated in", values, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotIn(List<Date> values) {
      addCriterion("updated not in", values, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedBetween(Date value1, Date value2) {
      addCriterion("updated between", value1, value2, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotBetween(Date value1, Date value2) {
      addCriterion("updated not between", value1, value2, "updated");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIsNull() {
      addCriterion("companyId is null");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIsNotNull() {
      addCriterion("companyId is not null");
      return (Criteria) this;
    }

    public Criteria andCompanyIdEqualTo(Long value) {
      addCriterion("companyId =", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotEqualTo(Long value) {
      addCriterion("companyId <>", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdGreaterThan(Long value) {
      addCriterion("companyId >", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
      addCriterion("companyId >=", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdLessThan(Long value) {
      addCriterion("companyId <", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
      addCriterion("companyId <=", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIn(List<Long> values) {
      addCriterion("companyId in", values, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotIn(List<Long> values) {
      addCriterion("companyId not in", values, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdBetween(Long value1, Long value2) {
      addCriterion("companyId between", value1, value2, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
      addCriterion("companyId not between", value1, value2, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIsNull() {
      addCriterion("companyName is null");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIsNotNull() {
      addCriterion("companyName is not null");
      return (Criteria) this;
    }

    public Criteria andCompanyNameEqualTo(String value) {
      addCriterion("companyName =", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotEqualTo(String value) {
      addCriterion("companyName <>", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameGreaterThan(String value) {
      addCriterion("companyName >", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
      addCriterion("companyName >=", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLessThan(String value) {
      addCriterion("companyName <", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLessThanOrEqualTo(String value) {
      addCriterion("companyName <=", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLike(String value) {
      addCriterion("companyName like", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotLike(String value) {
      addCriterion("companyName not like", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIn(List<String> values) {
      addCriterion("companyName in", values, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotIn(List<String> values) {
      addCriterion("companyName not in", values, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameBetween(String value1, String value2) {
      addCriterion("companyName between", value1, value2, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotBetween(String value1, String value2) {
      addCriterion("companyName not between", value1, value2, "companyName");
      return (Criteria) this;
    }

    public Criteria andCarNameIsNull() {
      addCriterion("carName is null");
      return (Criteria) this;
    }

    public Criteria andCarNameIsNotNull() {
      addCriterion("carName is not null");
      return (Criteria) this;
    }

    public Criteria andCarNameEqualTo(String value) {
      addCriterion("carName =", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameNotEqualTo(String value) {
      addCriterion("carName <>", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameGreaterThan(String value) {
      addCriterion("carName >", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameGreaterThanOrEqualTo(String value) {
      addCriterion("carName >=", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameLessThan(String value) {
      addCriterion("carName <", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameLessThanOrEqualTo(String value) {
      addCriterion("carName <=", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameLike(String value) {
      addCriterion("carName like", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameNotLike(String value) {
      addCriterion("carName not like", value, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameIn(List<String> values) {
      addCriterion("carName in", values, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameNotIn(List<String> values) {
      addCriterion("carName not in", values, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameBetween(String value1, String value2) {
      addCriterion("carName between", value1, value2, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNameNotBetween(String value1, String value2) {
      addCriterion("carName not between", value1, value2, "carName");
      return (Criteria) this;
    }

    public Criteria andCarNumberIsNull() {
      addCriterion("carNumber is null");
      return (Criteria) this;
    }

    public Criteria andCarNumberIsNotNull() {
      addCriterion("carNumber is not null");
      return (Criteria) this;
    }

    public Criteria andCarNumberEqualTo(String value) {
      addCriterion("carNumber =", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotEqualTo(String value) {
      addCriterion("carNumber <>", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberGreaterThan(String value) {
      addCriterion("carNumber >", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberGreaterThanOrEqualTo(String value) {
      addCriterion("carNumber >=", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLessThan(String value) {
      addCriterion("carNumber <", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLessThanOrEqualTo(String value) {
      addCriterion("carNumber <=", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLike(String value) {
      addCriterion("carNumber like", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotLike(String value) {
      addCriterion("carNumber not like", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberIn(List<String> values) {
      addCriterion("carNumber in", values, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotIn(List<String> values) {
      addCriterion("carNumber not in", values, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberBetween(String value1, String value2) {
      addCriterion("carNumber between", value1, value2, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotBetween(String value1, String value2) {
      addCriterion("carNumber not between", value1, value2, "carNumber");
      return (Criteria) this;
    }

    public Criteria andStatusIsNull() {
      addCriterion("status is null");
      return (Criteria) this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion("status is not null");
      return (Criteria) this;
    }

    public Criteria andStatusEqualTo(Integer value) {
      addCriterion("status =", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotEqualTo(Integer value) {
      addCriterion("status <>", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusGreaterThan(Integer value) {
      addCriterion("status >", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
      addCriterion("status >=", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusLessThan(Integer value) {
      addCriterion("status <", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusLessThanOrEqualTo(Integer value) {
      addCriterion("status <=", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusIn(List<Integer> values) {
      addCriterion("status in", values, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotIn(List<Integer> values) {
      addCriterion("status not in", values, "status");
      return (Criteria) this;
    }

    public Criteria andStatusBetween(Integer value1, Integer value2) {
      addCriterion("status between", value1, value2, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotBetween(Integer value1, Integer value2) {
      addCriterion("status not between", value1, value2, "status");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIsNull() {
      addCriterion("carTypeId is null");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIsNotNull() {
      addCriterion("carTypeId is not null");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdEqualTo(Long value) {
      addCriterion("carTypeId =", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotEqualTo(Long value) {
      addCriterion("carTypeId <>", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdGreaterThan(Long value) {
      addCriterion("carTypeId >", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdGreaterThanOrEqualTo(Long value) {
      addCriterion("carTypeId >=", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdLessThan(Long value) {
      addCriterion("carTypeId <", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdLessThanOrEqualTo(Long value) {
      addCriterion("carTypeId <=", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIn(List<Long> values) {
      addCriterion("carTypeId in", values, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotIn(List<Long> values) {
      addCriterion("carTypeId not in", values, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdBetween(Long value1, Long value2) {
      addCriterion("carTypeId between", value1, value2, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotBetween(Long value1, Long value2) {
      addCriterion("carTypeId not between", value1, value2, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceIsNull() {
      addCriterion("drivingDistance is null");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceIsNotNull() {
      addCriterion("drivingDistance is not null");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceEqualTo(Double value) {
      addCriterion("drivingDistance =", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceNotEqualTo(Double value) {
      addCriterion("drivingDistance <>", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceGreaterThan(Double value) {
      addCriterion("drivingDistance >", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceGreaterThanOrEqualTo(Double value) {
      addCriterion("drivingDistance >=", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceLessThan(Double value) {
      addCriterion("drivingDistance <", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceLessThanOrEqualTo(Double value) {
      addCriterion("drivingDistance <=", value, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceIn(List<Double> values) {
      addCriterion("drivingDistance in", values, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceNotIn(List<Double> values) {
      addCriterion("drivingDistance not in", values, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceBetween(Double value1, Double value2) {
      addCriterion("drivingDistance between", value1, value2, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andDrivingDistanceNotBetween(Double value1, Double value2) {
      addCriterion("drivingDistance not between", value1, value2, "drivingDistance");
      return (Criteria) this;
    }

    public Criteria andBuyTimeIsNull() {
      addCriterion("buyTime is null");
      return (Criteria) this;
    }

    public Criteria andBuyTimeIsNotNull() {
      addCriterion("buyTime is not null");
      return (Criteria) this;
    }

    public Criteria andBuyTimeEqualTo(Date value) {
      addCriterion("buyTime =", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeNotEqualTo(Date value) {
      addCriterion("buyTime <>", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeGreaterThan(Date value) {
      addCriterion("buyTime >", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeGreaterThanOrEqualTo(Date value) {
      addCriterion("buyTime >=", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeLessThan(Date value) {
      addCriterion("buyTime <", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeLessThanOrEqualTo(Date value) {
      addCriterion("buyTime <=", value, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeIn(List<Date> values) {
      addCriterion("buyTime in", values, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeNotIn(List<Date> values) {
      addCriterion("buyTime not in", values, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeBetween(Date value1, Date value2) {
      addCriterion("buyTime between", value1, value2, "buyTime");
      return (Criteria) this;
    }

    public Criteria andBuyTimeNotBetween(Date value1, Date value2) {
      addCriterion("buyTime not between", value1, value2, "buyTime");
      return (Criteria) this;
    }

    public Criteria andEmployIdIsNull() {
      addCriterion("employId is null");
      return (Criteria) this;
    }

    public Criteria andEmployIdIsNotNull() {
      addCriterion("employId is not null");
      return (Criteria) this;
    }

    public Criteria andEmployIdEqualTo(Long value) {
      addCriterion("employId =", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotEqualTo(Long value) {
      addCriterion("employId <>", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdGreaterThan(Long value) {
      addCriterion("employId >", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdGreaterThanOrEqualTo(Long value) {
      addCriterion("employId >=", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdLessThan(Long value) {
      addCriterion("employId <", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdLessThanOrEqualTo(Long value) {
      addCriterion("employId <=", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdIn(List<Long> values) {
      addCriterion("employId in", values, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotIn(List<Long> values) {
      addCriterion("employId not in", values, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdBetween(Long value1, Long value2) {
      addCriterion("employId between", value1, value2, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotBetween(Long value1, Long value2) {
      addCriterion("employId not between", value1, value2, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployNameIsNull() {
      addCriterion("employName is null");
      return (Criteria) this;
    }

    public Criteria andEmployNameIsNotNull() {
      addCriterion("employName is not null");
      return (Criteria) this;
    }

    public Criteria andEmployNameEqualTo(String value) {
      addCriterion("employName =", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotEqualTo(String value) {
      addCriterion("employName <>", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameGreaterThan(String value) {
      addCriterion("employName >", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameGreaterThanOrEqualTo(String value) {
      addCriterion("employName >=", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLessThan(String value) {
      addCriterion("employName <", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLessThanOrEqualTo(String value) {
      addCriterion("employName <=", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLike(String value) {
      addCriterion("employName like", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotLike(String value) {
      addCriterion("employName not like", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameIn(List<String> values) {
      addCriterion("employName in", values, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotIn(List<String> values) {
      addCriterion("employName not in", values, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameBetween(String value1, String value2) {
      addCriterion("employName between", value1, value2, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotBetween(String value1, String value2) {
      addCriterion("employName not between", value1, value2, "employName");
      return (Criteria) this;
    }

    public Criteria andLimitLineIsNull() {
      addCriterion("limitLine is null");
      return (Criteria) this;
    }

    public Criteria andLimitLineIsNotNull() {
      addCriterion("limitLine is not null");
      return (Criteria) this;
    }

    public Criteria andLimitLineEqualTo(Integer value) {
      addCriterion("limitLine =", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineNotEqualTo(Integer value) {
      addCriterion("limitLine <>", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineGreaterThan(Integer value) {
      addCriterion("limitLine >", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineGreaterThanOrEqualTo(Integer value) {
      addCriterion("limitLine >=", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineLessThan(Integer value) {
      addCriterion("limitLine <", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineLessThanOrEqualTo(Integer value) {
      addCriterion("limitLine <=", value, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineIn(List<Integer> values) {
      addCriterion("limitLine in", values, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineNotIn(List<Integer> values) {
      addCriterion("limitLine not in", values, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineBetween(Integer value1, Integer value2) {
      addCriterion("limitLine between", value1, value2, "limitLine");
      return (Criteria) this;
    }

    public Criteria andLimitLineNotBetween(Integer value1, Integer value2) {
      addCriterion("limitLine not between", value1, value2, "limitLine");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeIsNull() {
      addCriterion("insuranceTime is null");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeIsNotNull() {
      addCriterion("insuranceTime is not null");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeEqualTo(Date value) {
      addCriterion("insuranceTime =", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeNotEqualTo(Date value) {
      addCriterion("insuranceTime <>", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeGreaterThan(Date value) {
      addCriterion("insuranceTime >", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeGreaterThanOrEqualTo(Date value) {
      addCriterion("insuranceTime >=", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeLessThan(Date value) {
      addCriterion("insuranceTime <", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeLessThanOrEqualTo(Date value) {
      addCriterion("insuranceTime <=", value, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeIn(List<Date> values) {
      addCriterion("insuranceTime in", values, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeNotIn(List<Date> values) {
      addCriterion("insuranceTime not in", values, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeBetween(Date value1, Date value2) {
      addCriterion("insuranceTime between", value1, value2, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andInsuranceTimeNotBetween(Date value1, Date value2) {
      addCriterion("insuranceTime not between", value1, value2, "insuranceTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeIsNull() {
      addCriterion("overhaulTime is null");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeIsNotNull() {
      addCriterion("overhaulTime is not null");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeEqualTo(Date value) {
      addCriterion("overhaulTime =", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeNotEqualTo(Date value) {
      addCriterion("overhaulTime <>", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeGreaterThan(Date value) {
      addCriterion("overhaulTime >", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeGreaterThanOrEqualTo(Date value) {
      addCriterion("overhaulTime >=", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeLessThan(Date value) {
      addCriterion("overhaulTime <", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeLessThanOrEqualTo(Date value) {
      addCriterion("overhaulTime <=", value, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeIn(List<Date> values) {
      addCriterion("overhaulTime in", values, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeNotIn(List<Date> values) {
      addCriterion("overhaulTime not in", values, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeBetween(Date value1, Date value2) {
      addCriterion("overhaulTime between", value1, value2, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andOverhaulTimeNotBetween(Date value1, Date value2) {
      addCriterion("overhaulTime not between", value1, value2, "overhaulTime");
      return (Criteria) this;
    }

    public Criteria andPictureIsNull() {
      addCriterion("picture is null");
      return (Criteria) this;
    }

    public Criteria andPictureIsNotNull() {
      addCriterion("picture is not null");
      return (Criteria) this;
    }

    public Criteria andPictureEqualTo(String value) {
      addCriterion("picture =", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureNotEqualTo(String value) {
      addCriterion("picture <>", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureGreaterThan(String value) {
      addCriterion("picture >", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureGreaterThanOrEqualTo(String value) {
      addCriterion("picture >=", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureLessThan(String value) {
      addCriterion("picture <", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureLessThanOrEqualTo(String value) {
      addCriterion("picture <=", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureLike(String value) {
      addCriterion("picture like", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureNotLike(String value) {
      addCriterion("picture not like", value, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureIn(List<String> values) {
      addCriterion("picture in", values, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureNotIn(List<String> values) {
      addCriterion("picture not in", values, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureBetween(String value1, String value2) {
      addCriterion("picture between", value1, value2, "picture");
      return (Criteria) this;
    }

    public Criteria andPictureNotBetween(String value1, String value2) {
      addCriterion("picture not between", value1, value2, "picture");
      return (Criteria) this;
    }

    public Criteria andProvincialIsNull() {
      addCriterion("provincial is null");
      return (Criteria) this;
    }

    public Criteria andProvincialIsNotNull() {
      addCriterion("provincial is not null");
      return (Criteria) this;
    }

    public Criteria andProvincialEqualTo(String value) {
      addCriterion("provincial =", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialNotEqualTo(String value) {
      addCriterion("provincial <>", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialGreaterThan(String value) {
      addCriterion("provincial >", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialGreaterThanOrEqualTo(String value) {
      addCriterion("provincial >=", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialLessThan(String value) {
      addCriterion("provincial <", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialLessThanOrEqualTo(String value) {
      addCriterion("provincial <=", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialLike(String value) {
      addCriterion("provincial like", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialNotLike(String value) {
      addCriterion("provincial not like", value, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialIn(List<String> values) {
      addCriterion("provincial in", values, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialNotIn(List<String> values) {
      addCriterion("provincial not in", values, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialBetween(String value1, String value2) {
      addCriterion("provincial between", value1, value2, "provincial");
      return (Criteria) this;
    }

    public Criteria andProvincialNotBetween(String value1, String value2) {
      addCriterion("provincial not between", value1, value2, "provincial");
      return (Criteria) this;
    }

    public Criteria andCityIsNull() {
      addCriterion("city is null");
      return (Criteria) this;
    }

    public Criteria andCityIsNotNull() {
      addCriterion("city is not null");
      return (Criteria) this;
    }

    public Criteria andCityEqualTo(String value) {
      addCriterion("city =", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityNotEqualTo(String value) {
      addCriterion("city <>", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityGreaterThan(String value) {
      addCriterion("city >", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityGreaterThanOrEqualTo(String value) {
      addCriterion("city >=", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityLessThan(String value) {
      addCriterion("city <", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityLessThanOrEqualTo(String value) {
      addCriterion("city <=", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityLike(String value) {
      addCriterion("city like", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityNotLike(String value) {
      addCriterion("city not like", value, "city");
      return (Criteria) this;
    }

    public Criteria andCityIn(List<String> values) {
      addCriterion("city in", values, "city");
      return (Criteria) this;
    }

    public Criteria andCityNotIn(List<String> values) {
      addCriterion("city not in", values, "city");
      return (Criteria) this;
    }

    public Criteria andCityBetween(String value1, String value2) {
      addCriterion("city between", value1, value2, "city");
      return (Criteria) this;
    }

    public Criteria andCityNotBetween(String value1, String value2) {
      addCriterion("city not between", value1, value2, "city");
      return (Criteria) this;
    }

    public Criteria andCountyIsNull() {
      addCriterion("county is null");
      return (Criteria) this;
    }

    public Criteria andCountyIsNotNull() {
      addCriterion("county is not null");
      return (Criteria) this;
    }

    public Criteria andCountyEqualTo(String value) {
      addCriterion("county =", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyNotEqualTo(String value) {
      addCriterion("county <>", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyGreaterThan(String value) {
      addCriterion("county >", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyGreaterThanOrEqualTo(String value) {
      addCriterion("county >=", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyLessThan(String value) {
      addCriterion("county <", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyLessThanOrEqualTo(String value) {
      addCriterion("county <=", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyLike(String value) {
      addCriterion("county like", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyNotLike(String value) {
      addCriterion("county not like", value, "county");
      return (Criteria) this;
    }

    public Criteria andCountyIn(List<String> values) {
      addCriterion("county in", values, "county");
      return (Criteria) this;
    }

    public Criteria andCountyNotIn(List<String> values) {
      addCriterion("county not in", values, "county");
      return (Criteria) this;
    }

    public Criteria andCountyBetween(String value1, String value2) {
      addCriterion("county between", value1, value2, "county");
      return (Criteria) this;
    }

    public Criteria andCountyNotBetween(String value1, String value2) {
      addCriterion("county not between", value1, value2, "county");
      return (Criteria) this;
    }

    public Criteria andAddressIsNull() {
      addCriterion("address is null");
      return (Criteria) this;
    }

    public Criteria andAddressIsNotNull() {
      addCriterion("address is not null");
      return (Criteria) this;
    }

    public Criteria andAddressEqualTo(String value) {
      addCriterion("address =", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressNotEqualTo(String value) {
      addCriterion("address <>", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressGreaterThan(String value) {
      addCriterion("address >", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressGreaterThanOrEqualTo(String value) {
      addCriterion("address >=", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressLessThan(String value) {
      addCriterion("address <", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressLessThanOrEqualTo(String value) {
      addCriterion("address <=", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressLike(String value) {
      addCriterion("address like", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressNotLike(String value) {
      addCriterion("address not like", value, "address");
      return (Criteria) this;
    }

    public Criteria andAddressIn(List<String> values) {
      addCriterion("address in", values, "address");
      return (Criteria) this;
    }

    public Criteria andAddressNotIn(List<String> values) {
      addCriterion("address not in", values, "address");
      return (Criteria) this;
    }

    public Criteria andAddressBetween(String value1, String value2) {
      addCriterion("address between", value1, value2, "address");
      return (Criteria) this;
    }

    public Criteria andAddressNotBetween(String value1, String value2) {
      addCriterion("address not between", value1, value2, "address");
      return (Criteria) this;
    }

    public Criteria andVersionIsNull() {
      addCriterion("version is null");
      return (Criteria) this;
    }

    public Criteria andVersionIsNotNull() {
      addCriterion("version is not null");
      return (Criteria) this;
    }

    public Criteria andVersionEqualTo(Long value) {
      addCriterion("version =", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotEqualTo(Long value) {
      addCriterion("version <>", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionGreaterThan(Long value) {
      addCriterion("version >", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionGreaterThanOrEqualTo(Long value) {
      addCriterion("version >=", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionLessThan(Long value) {
      addCriterion("version <", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionLessThanOrEqualTo(Long value) {
      addCriterion("version <=", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionIn(List<Long> values) {
      addCriterion("version in", values, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotIn(List<Long> values) {
      addCriterion("version not in", values, "version");
      return (Criteria) this;
    }

    public Criteria andVersionBetween(Long value1, Long value2) {
      addCriterion("version between", value1, value2, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotBetween(Long value1, Long value2) {
      addCriterion("version not between", value1, value2, "version");
      return (Criteria) this;
    }

    public Criteria andAppKeyIsNull() {
      addCriterion("appKey is null");
      return (Criteria) this;
    }

    public Criteria andAppKeyIsNotNull() {
      addCriterion("appKey is not null");
      return (Criteria) this;
    }

    public Criteria andAppKeyEqualTo(String value) {
      addCriterion("appKey =", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyNotEqualTo(String value) {
      addCriterion("appKey <>", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyGreaterThan(String value) {
      addCriterion("appKey >", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyGreaterThanOrEqualTo(String value) {
      addCriterion("appKey >=", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyLessThan(String value) {
      addCriterion("appKey <", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyLessThanOrEqualTo(String value) {
      addCriterion("appKey <=", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyLike(String value) {
      addCriterion("appKey like", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyNotLike(String value) {
      addCriterion("appKey not like", value, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyIn(List<String> values) {
      addCriterion("appKey in", values, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyNotIn(List<String> values) {
      addCriterion("appKey not in", values, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyBetween(String value1, String value2) {
      addCriterion("appKey between", value1, value2, "appKey");
      return (Criteria) this;
    }

    public Criteria andAppKeyNotBetween(String value1, String value2) {
      addCriterion("appKey not between", value1, value2, "appKey");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLikeInsensitive(String value) {
      addCriterion("upper(companyName) like", value.toUpperCase(), "companyName");
      return (Criteria) this;
    }

    public Criteria andCarNameLikeInsensitive(String value) {
      addCriterion("upper(carName) like", value.toUpperCase(), "carName");
      return (Criteria) this;
    }

    public Criteria andCarNumberLikeInsensitive(String value) {
      addCriterion("upper(carNumber) like", value.toUpperCase(), "carNumber");
      return (Criteria) this;
    }

    public Criteria andEmployNameLikeInsensitive(String value) {
      addCriterion("upper(employName) like", value.toUpperCase(), "employName");
      return (Criteria) this;
    }

    public Criteria andPictureLikeInsensitive(String value) {
      addCriterion("upper(picture) like", value.toUpperCase(), "picture");
      return (Criteria) this;
    }

    public Criteria andProvincialLikeInsensitive(String value) {
      addCriterion("upper(provincial) like", value.toUpperCase(), "provincial");
      return (Criteria) this;
    }

    public Criteria andCityLikeInsensitive(String value) {
      addCriterion("upper(city) like", value.toUpperCase(), "city");
      return (Criteria) this;
    }

    public Criteria andCountyLikeInsensitive(String value) {
      addCriterion("upper(county) like", value.toUpperCase(), "county");
      return (Criteria) this;
    }

    public Criteria andAddressLikeInsensitive(String value) {
      addCriterion("upper(address) like", value.toUpperCase(), "address");
      return (Criteria) this;
    }

    public Criteria andAppKeyLikeInsensitive(String value) {
      addCriterion("upper(appKey) like", value.toUpperCase(), "appKey");
      return (Criteria) this;
    }
  }

  public static class Criteria extends GeneratedCriteria {

    protected Criteria() {
      super();
    }
  }

  public static class Criterion {
    private String condition;

    private Object value;

    private Object secondValue;

    private boolean noValue;

    private boolean singleValue;

    private boolean betweenValue;

    private boolean listValue;

    private String typeHandler;

    public String getCondition() {
      return condition;
    }

    public Object getValue() {
      return value;
    }

    public Object getSecondValue() {
      return secondValue;
    }

    public boolean isNoValue() {
      return noValue;
    }

    public boolean isSingleValue() {
      return singleValue;
    }

    public boolean isBetweenValue() {
      return betweenValue;
    }

    public boolean isListValue() {
      return listValue;
    }

    public String getTypeHandler() {
      return typeHandler;
    }

    protected Criterion(String condition) {
      super();
      this.condition = condition;
      this.typeHandler = null;
      this.noValue = true;
    }

    protected Criterion(String condition, Object value, String typeHandler) {
      super();
      this.condition = condition;
      this.value = value;
      this.typeHandler = typeHandler;
      if (value instanceof List<?>) {
        this.listValue = true;
      } else {
        this.singleValue = true;
      }
    }

    protected Criterion(String condition, Object value) {
      this(condition, value, null);
    }

    protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
      super();
      this.condition = condition;
      this.value = value;
      this.secondValue = secondValue;
      this.typeHandler = typeHandler;
      this.betweenValue = true;
    }

    protected Criterion(String condition, Object value, Object secondValue) {
      this(condition, value, secondValue, null);
    }
  }
}
